package com.csun.cmny.provider.model.dto.watch;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-03-04 14:08
 * @Description: the class watch sleep query dto
 */
@Data
public class WatchSleepQueryDto implements Serializable {

    private static final long serialVersionUID = -2010273622916468683L;

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 日期
     */
    private String date;

}
